/*
 * @Author: zhangchaosen
 * @Date: 2024-05-20 09:29:53
 * @LastEditors: zhangchaosen
 * @LastEditTime: 2024-06-17 09:41:47
 * @Description:
 */
const SYSTEM_NAME = 'MES-200'

/** 缓存数据时用到的 Key */
class CacheKey {
  // 接口token请求头参数名
  static AUTHORIZATION_KEY = `Authorization`
  // cookie存储的token字段
  static TOKEN_KEY = `${SYSTEM_NAME}-TOKEN`
  // cookie存储的token过期时长(天)
  static TOKEN_EXPIRES: number | undefined = undefined
  // cookie中存储的记住密码字段
  static REMEMBER_KEY = `${SYSTEM_NAME}-REMEMBER`
  // 记住密码保存时长(天)
  static REMEMBER_DAY = 30
}

export default CacheKey
